summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/manager_display_service.h
blob: 6a5554eff107f2fe36a72299e26705f05a1afc62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "core/hle/service/service.h"

namespace Service::VI {

class IManagerDisplayService final : public ServiceFramework<IManagerDisplayService> {
public:
    explicit IManagerDisplayService(Core::System& system_, Nvnflinger::Nvnflinger& nvnflinger_);
    ~IManagerDisplayService() override;

private:
    void CloseDisplay(HLERequestContext& ctx);
    void CreateManagedLayer(HLERequestContext& ctx);
    void AddToLayerStack(HLERequestContext& ctx);
    void SetLayerVisibility(HLERequestContext& ctx);

private:
    Nvnflinger::Nvnflinger& nvnflinger;
};

} // namespace Service::VI